import { baseurl } from "@/utils/http/baseurl";
export function IsHttpImg(str: string) {
  const regex = /http/;
  return regex.test(str) ? str : baseurl + "/" + str;
}

export const imgType = ["image/jpeg", "image/gif", "image/png", "image/webp"];
